<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>手写MVVM</title>

</head>
<body>
<div id="app">
    <input type="text" v-model="message"/>
    {{message}}
    <h2>MVVM</h2>
</div>
<script src="Wather.js"></script>
<script src="Observer.js"></script>
<script src="MVVM.js"> </script>
<script src="complie.js" ></script>
<!--https://www.jianshu.com/p/d723f3dc4888-->
<script>
    let vm = new MVVM({
        el: 'app',
        data: {
            message: 'hello world'
        }
    })
</script>
</body>
</html>